package hot;

/**
 * @author way
 * @create 2025-03-19 21:28
 */
public class _136_singleNumber {
    public int singleNumber(int[] nums) {
        int single = 0;
        for (int num : nums) {
            single ^= num;
        }
        return single;
    }
}
